package com.tjhk.geoserver.api.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

/**
 * @author ：little grape
 * @description：TODO
 * @date ：2022/12/22 12:32
 */
public class Layer {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String name;
    private String url;
    private String layerName;
    private String legend;
    private String createTime;

    public Layer() {
    }

    public Layer(String name, String url, String layerName, String legend, String createTime) {
        this.name = name;
        this.url = url;
        this.layerName = layerName;
        this.legend = legend;
        this.createTime = createTime;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getLayerName() {
        return layerName;
    }

    public void setLayerName(String layerName) {
        this.layerName = layerName;
    }

    public String getLegend() {
        return legend;
    }

    public void setLegend(String legend) {
        this.legend = legend;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }
}
